import Axios from 'axios'
import { fetchOrigin } from './network-conf'
import interceptors from './interceptors'

const fetch = Axios.create({
  baseURL: fetchOrigin
})

interceptors(fetch)

export default fetch